import axios from "axios";

export const getUserInfo = (params) =>
  axios.post("/get-user-info", { params }).catch((err) => message.error(err));

export const getUserAge = (params) =>
  axios.post("/get-user-age", { params }).catch((err) => message.error(err));
